N4 lets you add menu items to file-based menus, such as the Actions, Display, and context (shortcut) menus. You can add new menu items or override existing ones. By default, N4 adds every new menu item:
At your current login scope
At the end of the menu, preserving the place of existing menu items
To add or edit a menu item:
In the Menu Item form, provide the following information:
Menu Category: Select a menu or type a new menu name.
Entering the name for a new menu category is only useful in customized implementations.
User Action Id: Enter the ID for the user action, which must:
Contain only uppercase letters, number, or underscore character (_)
Start with a letter
Contain at least five characters
Start with CUSTOM_ if the action type is Code Extension.
Label: Enter a string that is unique within the menu category and identifies the menu item
Action Type: Select an action type.
If you select Variform, the Action Reference list populates with available variform IDs.
Action Reference: Select or type the name of the object referred to by the action type.
For example, if the Action Type is Code Extension, enter the name of the code extension. If the Action Type is Variform, select the ID of an available variform, or type a new ID. N4 cross-validates this field against objects and references available in the system.
Destination Target: Select the element that the menu item calls. This can be a tab, a dialog box, overlapped, embedded, or none at all.
Source Enabler: Select how many table records must be selected to be able to trigger this menu action.
Mnemonic: Enter one of the following uppercase ASCII letters from the following range B-E, G-J, N, P, R, T, W, Z.
The value must be unique across all menu actions.
Click Save.